package BankAccount;

import java.util.Scanner;

public class Main {
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        int AccountBalance=sc.nextInt();
        int WithdrawalLimit=sc.nextInt();
        int DepositLimit=sc.nextInt();
        BankAccount x=new BankAccount(AccountBalance);
        System.out.println(x.getBlance());
        x.withdraw(WithdrawalLimit);
        System.out.println(x.getBlance());
        x.deposit(DepositLimit);
        System.out.println(x.getBlance());
    }
}
